package com.ruoyi.system.domain.vo;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.system.domain.WebsiteInfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * websiteCategory对象 website_category
 * 
 * @author ruoyi
 * @date 2023-09-28
 */
public class WebsiteCategoryVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 分类名 */
    @Excel(name = "分类名")
    private String categoryName;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public List<WebsiteInfo> getWebsiteInfoList() {
        return websiteInfoList;
    }

    public void setWebsiteInfoList(List<WebsiteInfo> websiteInfoList) {
        this.websiteInfoList = websiteInfoList;
    }

    List<WebsiteInfo> websiteInfoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryName", getCategoryName())
            .toString();
    }
}
